[−][src]Crate dice_command_parser
This crate provides functionality for the basic parsing of dice roll commands e.g. d100
, d6 + 5
, 2d20 - 1
.
Given some input it will produce a DiceRoll
struct which can be used to then calculate a result.
Modules
dice_roll | Provides access to the |
error | Provides access to the |
Functions
parse_line | Takes a string of dice input and returns a |